<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <h2 class="mt-5">欢迎, {{ username }}!</h2>
    <p>这是一个主页内容。</p>
    <a href="{{ url_for('logout') }}" class="btn btn-secondary">登出</a>
</div>
</body>
</html>